import {promiseDelay} from './promiseDelay';
export const mockPromise = (
    data = {},
    {
        delay = 1000
    } = {}) => {
    return promiseDelay(delay)
        .then(() => {
            return Promise.resolve(data);
        });
};
export default mockPromise;